package cn.star.jots.subject.mapper;

import cn.star.jots.subject.pojo.dto.SubjectQuery;
import cn.star.jots.subject.pojo.entity.Subject;
import cn.star.jots.subject.pojo.vo.SubjectVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SubjectMapper {
    List<SubjectVO> selectAll(SubjectQuery subjectQuery);

    void insert(Subject subject);

    void update(Subject subject);

    void deleteById(Long id);
}
